import util.TeacherDBUtil;
import pojo.Teacher;

public class TeacherTest {
    public static void main(String[] args) throws Exception {
        TeacherDBUtil td = new TeacherDBUtil();
//        td.addTeacher(new Teacher(207, "feifei7", "男", 12345678901L, 304));
//
//        td.deleteTeaByTno(207);

//        Teacher tea = td.getTeaByTno(206);
//        System.out.println("teacher = " + tea);

td.updateTea(new Teacher(206, "测试更新", "男", 12345678901L, 304));
    }
}
